#ifndef DEF_COMPONENT_BEHAVIOR
#define DEF_COMPONENT_BEHAVIOR

#ifdef WIN32
#include <GL/glew.h>
#else
#define GL3_PROTOTYPES 1
#include <GL3/gl3.h>
#endif

#include "../Maths/Matrix.h"

class GameObject;

class Component
{
public :
	Component();
	virtual ~Component();

	virtual void Awake();
	virtual void Start();
	virtual void Update(float time);
	virtual void Render(Matrix4 view, Matrix4 proj);	

	void SetGameObject(GameObject* go){ _gameObject = go; }

protected:
	GameObject* _gameObject;

};
#endif //DEF_COMPONENT_BEHAVIOR